// import { combineReducers } from 'redux' // redux的combineReducers生成普通对象

import { combineReducers } from 'redux-immutable' // redux-immutable的combineReducers生成immutable对象

import { reducer as headReducer } from '../common/header/store'
import { reducer as homeReducer } from '../home/store'
import { reducer as detailReducer} from '../detail/store'
import { reducer as loginReducer} from '../login/store'

const reducer = combineReducers({
    head: headReducer,
    home: homeReducer,
    detail: detailReducer,
    login: loginReducer
})

export default reducer

